<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="app" uri="/application" %>
<%@ taglib  prefix="s"  uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title></title>
<link href="/css/css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="all_main">
  <div class="head_main">
    <div class="main_nav">任务管理-&gt;任务列表</div>
    <div class="main_soso">
    <form action="/task/search_task.shtml">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		  <tr>
		    <td width="19" height="30" align="center"><img src="../images/clean_011.gif" width="16" height="16" /></td>
		    <td>
		       类型：
		       <select name="task.taskType">
	                   <option value="normal" <c:if test="${task.taskType=='normal'}">selected="selected"</c:if>>常规任务</option>
	                   <option value="daily" <c:if test="${task.taskType=='daily'}">selected="selected"</c:if>>每日任务</option>
	           </select>
		      </td>
		    <td align="left">
		      <input name="input7" type="submit" class="input01" value="搜索" /></td>
		  </tr>
		</table>
    </form>
    </div>
    <div class="main_title">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <th width="5%">编号</th>
          <th width="8%">类型</th>
          <th width="15%">标识</th>
          <th width="5%">提交次数</th>
          <th width="8%">完成积分</th>
          <th width="10%">名称</th>
          <th width="10%">描述</th>
          <th width="10%">完成说明</th>
          <th width="10%">按钮</th>
          <th width="10%">操作</th>
          <th ></th>
        </tr>
      </table>
    </div>
  </div>
  <div class="content_main">
    <table border="0" cellpadding="0" cellspacing="0" width="100%" id="background_hegh01">
      <c:forEach items="${page_list.list}" var="task">
         <tr>
            <td width="5%">${task.id}</td>
            <td width="8%">
               <c:choose>
                  <c:when test="${task.taskType=='daily'}">日常任务</c:when>
                  <c:when test="${task.taskType=='normal'}">常规任务</c:when>
               </c:choose>
            </td>
            <td width="15%">${task.taskId}</td>
            <td width="5%">${task.taskTime}</td>
            <td width="8%">${task.taskInteger}</td>
            <td width="10%">${task.taskName}</td>
            <td width="10%">${task.taskDesc}</td>
            <td width="10%">${task.taskGuide}</td>
            <td width="10%">${task.taskBtnText}</td> 
            <td width="10%"><a href="/task/to_task.shtml?id=${task.id}">编辑 </a> </td>
            <td></td> 
         </tr>
      
      </c:forEach>
    </table>
  </div>
  
  <app:page></app:page>
  
  
</div>
</body>
</html>